package com.yiyahui.project.erp.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yiyahui.framework.aspectj.lang.annotation.Excel;
import com.yiyahui.framework.web.domain.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 看诊对象 yiya_diagnose
 * 
 * @author yiyahui
 * @date 2020-05-16
 */

@ApiModel(value="看诊对象")
public class YiyaDiagnose extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 门诊患者id */
    @ApiModelProperty(value="门诊患者id")
    @Excel(name = "门诊患者id")
    private Long clinicPersonId;

    /** 病例号 */
    @ApiModelProperty(value="病例号")
    @Excel(name = "病例号")
    private String caseNumber;

    /** 姓名 */
    @ApiModelProperty(value="姓名")
    @Excel(name = "姓名")
    private String name;

    /** 性别：1.男，2.女 */
    @ApiModelProperty(value="性别：1.男，2.女")
    @Excel(name = "性别：1.男，2.女")
    private Integer sex;

    /** 年龄 */
    @ApiModelProperty(value="年龄")
    @Excel(name = "年龄")
    private Integer age;

    /** 手机号 */
    @ApiModelProperty(value="手机号")
    @Excel(name = "手机号")
    private String phoneNumber;

    /** 预约/挂号 */
    @ApiModelProperty(value="预约/挂号")
    @Excel(name = "预约/挂号")
    private String appointment;

    /** 预约时间 */
    @ApiModelProperty(value="预约时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date appointmentTime;

    /** 预约类型 */
    @ApiModelProperty(value="预约类型")
    @Excel(name = "预约类型")
    private String appointmentStatus;

    /** 医生 */
    @ApiModelProperty(value="医生")
    @Excel(name = "医生")
    private String doctor;

    /** 客户状态 */
    @ApiModelProperty(value="客户状态")
    @Excel(name = "客户状态")
    private String personStatus;

    /** 看诊项目 */
    @ApiModelProperty(value="看诊项目")
    @Excel(name = "看诊项目")
    private String diagnoseProject;

    /** 就诊状态 */
    @ApiModelProperty(value="就诊状态")
    @Excel(name = "就诊状态")
    private String diagnoseStatus;

    /** 病例ids */
    @ApiModelProperty(value="病例ids")
    @Excel(name = "病例ids")
    private String historyCaseIds;

    /** 随访ids */
    @ApiModelProperty(value="随访ids")
    @Excel(name = "随访ids")
    private String visitDoctorIds;

    /** 复诊预约id */
    @ApiModelProperty(value="复诊预约id")
    @Excel(name = "复诊预约id")
    private Long reservationClinicStoreId;

    /** 影像ids */
    @ApiModelProperty(value="影像ids")
    @Excel(name = "影像ids")
    private String resourceShadowIds;

    /** 是否接诊 0 未接诊 1 接诊 */
    @ApiModelProperty(value="是否接诊 0 未接诊 1 接诊")
    @Excel(name = "是否接诊 0 未接诊 1 接诊")
    private Integer isClinical;

    /** 是否治疗完成 0 未完成 1 已完成 */
    @ApiModelProperty(value="是否治疗完成 0 未完成 1 已完成")
    @Excel(name = "是否治疗完成 0 未完成 1 已完成")
    private Integer isFinish;

    /** 备注 */
    @ApiModelProperty(value="备注")
    @Excel(name = "备注")
    private String remarks;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClinicPersonId(Long clinicPersonId) 
    {
        this.clinicPersonId = clinicPersonId;
    }

    public Long getClinicPersonId() 
    {
        return clinicPersonId;
    }
    public void setCaseNumber(String caseNumber) 
    {
        this.caseNumber = caseNumber;
    }

    public String getCaseNumber() 
    {
        return caseNumber;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSex(Integer sex) 
    {
        this.sex = sex;
    }

    public Integer getSex() 
    {
        return sex;
    }
    public void setAge(Integer age) 
    {
        this.age = age;
    }

    public Integer getAge() 
    {
        return age;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setAppointment(String appointment) 
    {
        this.appointment = appointment;
    }

    public String getAppointment() 
    {
        return appointment;
    }
    public void setAppointmentTime(Date appointmentTime) 
    {
        this.appointmentTime = appointmentTime;
    }

    public Date getAppointmentTime() 
    {
        return appointmentTime;
    }
    public void setAppointmentStatus(String appointmentStatus) 
    {
        this.appointmentStatus = appointmentStatus;
    }

    public String getAppointmentStatus() 
    {
        return appointmentStatus;
    }
    public void setDoctor(String doctor) 
    {
        this.doctor = doctor;
    }

    public String getDoctor() 
    {
        return doctor;
    }
    public void setPersonStatus(String personStatus) 
    {
        this.personStatus = personStatus;
    }

    public String getPersonStatus() 
    {
        return personStatus;
    }
    public void setDiagnoseProject(String diagnoseProject) 
    {
        this.diagnoseProject = diagnoseProject;
    }

    public String getDiagnoseProject() 
    {
        return diagnoseProject;
    }
    public void setDiagnoseStatus(String diagnoseStatus) 
    {
        this.diagnoseStatus = diagnoseStatus;
    }

    public String getDiagnoseStatus() 
    {
        return diagnoseStatus;
    }
    public void setHistoryCaseIds(String historyCaseIds) 
    {
        this.historyCaseIds = historyCaseIds;
    }

    public String getHistoryCaseIds() 
    {
        return historyCaseIds;
    }
    public void setVisitDoctorIds(String visitDoctorIds) 
    {
        this.visitDoctorIds = visitDoctorIds;
    }

    public String getVisitDoctorIds() 
    {
        return visitDoctorIds;
    }
    public void setReservationClinicStoreId(Long reservationClinicStoreId) 
    {
        this.reservationClinicStoreId = reservationClinicStoreId;
    }

    public Long getReservationClinicStoreId() 
    {
        return reservationClinicStoreId;
    }
    public void setResourceShadowIds(String resourceShadowIds) 
    {
        this.resourceShadowIds = resourceShadowIds;
    }

    public String getResourceShadowIds() 
    {
        return resourceShadowIds;
    }
    public void setIsClinical(Integer isClinical) 
    {
        this.isClinical = isClinical;
    }

    public Integer getIsClinical() 
    {
        return isClinical;
    }
    public void setIsFinish(Integer isFinish) 
    {
        this.isFinish = isFinish;
    }

    public Integer getIsFinish() 
    {
        return isFinish;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("clinicPersonId", getClinicPersonId())
            .append("caseNumber", getCaseNumber())
            .append("name", getName())
            .append("sex", getSex())
            .append("age", getAge())
            .append("phoneNumber", getPhoneNumber())
            .append("appointment", getAppointment())
            .append("appointmentTime", getAppointmentTime())
            .append("appointmentStatus", getAppointmentStatus())
            .append("doctor", getDoctor())
            .append("personStatus", getPersonStatus())
            .append("diagnoseProject", getDiagnoseProject())
            .append("diagnoseStatus", getDiagnoseStatus())
            .append("historyCaseIds", getHistoryCaseIds())
            .append("visitDoctorIds", getVisitDoctorIds())
            .append("reservationClinicStoreId", getReservationClinicStoreId())
            .append("resourceShadowIds", getResourceShadowIds())
            .append("isClinical", getIsClinical())
            .append("isFinish", getIsFinish())
            .append("remarks", getRemarks())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
